package zxq.rollcall.course.service;

import io.swagger.models.auth.In;
import zxq.rollcall.course.entity.SystemCourseTableEntity;
import com.baomidou.mybatisplus.extension.service.IService;
import zxq.rollcall.course.entity.dto.ResultDTO;

/**
 * <p>
 * 课程表 服务类
 * </p>
 *
 * @author Yanghu
 * @since 2020-01-22
 */
public interface MPSystemCourseTableService extends IService<SystemCourseTableEntity> {






    /**
     * 获取今天是星期几
     * @return
     */
    Integer getDayOfWeek();



    /**
     * 开始签到
     * @param courseId 课程id
     * @return
     */
    Boolean startSign(Integer courseId);

    /**
     * 结束亲到
     * @param courseId 课程id
     * @return
     */
    Boolean stopSign(Integer courseId);

    /**
     * 获取班级Id
     * @param courseId 课程id
     * @return
     */
    Integer getClassId(Integer courseId);



}
